﻿namespace Demo.ProductService.Registrys;

public class ServiceRegistryOptions
{
    public ServiceRegistryOptions()
    {
        this.ServiceID = Guid.NewGuid().ToString();
    }

    /// <summary>
    /// 服务编号
    /// </summary>
    public string ServiceID { set; get; }
    /// <summary>
    /// Consul地址
    /// </summary>
    public string ConsulAddress { set; get; }
    /// <summary>
    /// 服务地址
    /// </summary>
    public string ServiceAddress { set; get; }
    /// <summary>
    /// 服务名称
    /// </summary>
    public string ServiceName { set; get; }
    /// <summary>
    /// Consul心跳检测地址
    /// </summary>
    public string HealthCheckAddress { set; get; }

}
